//跨域代理前缀
const API_PROXY_PREFIX = ''
const BASE_URL = process.env.NODE_ENV === 'production' ? process.env.VUE_APP_API_BASE_URL : API_PROXY_PREFIX
// const BASE_URL = process.env.VUE_APP_API_BASE_URL
module.exports = {
    LOGIN: `${BASE_URL}/login`,
    ROUTES: `${BASE_URL}/routes`,
    GOODS: `${BASE_URL}/goods`,
    GOODS_COLUMNS: `${BASE_URL}/columns`,
    USER_APP_LIST: `${BASE_URL}/agri/api/common/app/queryList`,
    RESOURCE_LIST: `${BASE_URL}/agri/api/common/resource/queryListPage`,
    RESOURCE_SAVE: `${BASE_URL}/agri/api/common/resource/save`,
    RESOURCE_DETAIL: `${BASE_URL}/agri/api/common/resource/queryDetail/`,
    RESOURCE_UPDATE: `${BASE_URL}/agri/api/common/resource/update/`,
    RESOURCE_DELETE: `${BASE_URL}/agri/api/common/resource/delete/`,

    ROLE_LIST: `${BASE_URL}/agri/api/common/role/queryListPage`,
    ROLE_SAVE: `${BASE_URL}/agri/api/common/role/save`,
    ROLE_UPDATE: `${BASE_URL}/agri/api/common/role/update/`,
    ROLE_DELETE: `${BASE_URL}/agri/api/common/role/delete/`,
    ROLE_ENABLE: `${BASE_URL}/agri/api/common/role/shield/`,
    ROLE_SORT: `${BASE_URL}/agri/api/common/role/sort/`,
    queryRoleUserList: `${BASE_URL}/agri/api/common/role/queryRoleUserList/`,

    queryList: `${BASE_URL}/agri/api/common/userManage/queryList`,

    queryListYh: `${BASE_URL}/agri/api/common/role/queryRoleUserList/`,


    queryListTree: `${BASE_URL}/agri/api/common/roleRes/queryList`,
    queryListPageZjjg: `${BASE_URL}/agri/api/common/org/queryListPage`,
    queryOrgTree: `${BASE_URL}/agri/api/common/org/queryOrgTree`,
    zzjgSave: `${BASE_URL}/agri/api/common/org/save`,
    zzjgEnable: `${BASE_URL}/agri/api/common/org/shield/`,
    gwQueryListPage: `${BASE_URL}/agri/api/common/post/queryListPage`,
    gwSave: `${BASE_URL}/agri/api/common/post/save`,
    gwShield: `${BASE_URL}/agri/api/common/post/shield/`,
    gwDelete: `${BASE_URL}/agri/api/common/post/delete/`,
    gwUpdate: `${BASE_URL}/agri/api/common/post/update/`,

    yhQuertPage: `${BASE_URL}/agri/api/common/userManage/queryListPage`,
    passwordReset: `${BASE_URL}/agri/api/common/userManage/resetPassword/`,
    yhSave: `${BASE_URL}/agri/api/common/userManage/save`,
    yhUpdate: `${BASE_URL} /agri/api/common/userManage/update/`,
    roleList: `${BASE_URL}/agri/api/common/userManage/queryRoleListByUserAccId/`,
    savesUserRoleList: `${BASE_URL}/agri/api/common/userManage/saveUserRoleList`,
    queryRoleListByUserAccId: `${BASE_URL}/agri/api/common/userManage/queryRoleListByUserAccId/`,
    usertoEdit: `${BASE_URL}/agri/api/common/userManage/update/`,
    QXsaveRoleUser: `${BASE_URL}/agri/api/common/role/saveRoleUser/`,
    deleteRoleUser: `${BASE_URL}/agri/api/common/role/deleteRoleUser/`,
   // managementDisabling: `${BASE_URL}/agri/api/common/userManage/shield/`,

    managementDisabling: `${BASE_URL}/agri/api/common/userManage/shieldForTenantAndSubjectInfoId/`,

    zzjgBj: `${BASE_URL}/agri/api/common/org/update/`,

    queryListForOrgs: `${BASE_URL}/agri/api/common/post/queryListForOrgs`,
    AUDITAPPLYURL : `${BASE_URL}/agri/api/common/auditApply/queryList`,
    COMPLAINTSUGGEST_DETAIL: `${BASE_URL}/agri/api/sshfw/complaintSuggest/detail/`,
    COMPLAINTSUGGEST_REPLY: `${BASE_URL}/agri/api/sshfw/complaintSuggest/reply/`,
    QUERYSTATISTICS: `${BASE_URL}/agri/api/yzbzh/homeStatistics/queryStatistics`,
    SUBJECTINFOENTERPRISE_DETAIL: `${BASE_URL}/agri/api/common/subjectInfoEnterprise/queryDetail`,
    SUBJECTINFOEXPERT_DETAIL: `${BASE_URL}/agri/api/common/subjectInfoExpert/queryDetail`,
    SUBJECTENTERPRISEUPDATEINFO_DETAIL: `${BASE_URL}/agri/api/common/subjectEnterpriseUpdateInfo/queryDetail`,
    QUERYENVIRONMENTDETAIL: `${BASE_URL}/agri/api/common/enviromentMonitor/queryEnvironmentDetail`,
    GETTOKEN: `${BASE_URL}/agri/api/common/liveVideo/getTokenBySubjectInfoId`,
    LIVEVIDEOLIST: `${BASE_URL}/agri/api/common/liveVideo/queryList`,
    FRESHMILKDELIVERY_DETAIL: `${BASE_URL}/agri/api/yzbzh/freshMilkDelivery/queryDetail/`,
}
